<?php
namespace app\http\middleware;
class auth{
    public function handle($request,\Closure $next)
    {
        //添加中间件执行代码
        return $next($request);
    }
}
